package com.example.longhongyu.shareqq;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

import com.example.longhongyu.shareqq.qqapi.QQActivity;

public class MainActivity extends AppCompatActivity {

    private ImageButton shareIcon;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void shareToQQ(View view) {
        startActivity(new Intent(this, QQActivity.class));
    }

}
